package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 抽奖次数详细记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PrizeDrawNumberRecordRespVO {

    @Schema(description = "抽奖次数详细记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18455")
    @ExcelProperty("抽奖次数详细记录ID")
    private Long prizeDrawNumberRecordId;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29303")
    @ExcelProperty("用户编号")
    private Long userId;

    @Schema(description = "获得抽奖次数方式（1：积分兑换，2：连续签到，3：商城下单）", example = "1")
    @ExcelProperty("获得抽奖次数方式（1：积分兑换，2：连续签到，3：商城下单）")
    private Boolean settingType;

    @Schema(description = "积分")
    @ExcelProperty("积分")
    private Integer point;

    @Schema(description = "签到日期")
    @ExcelProperty("签到日期")
    private LocalDateTime signDate;

    @Schema(description = "签到连续次数")
    @ExcelProperty("签到连续次数")
    private Integer signNum;

    @Schema(description = "抽奖设置商品批次ID", example = "2377")
    @ExcelProperty("抽奖设置商品批次ID")
    private Long prizeDrawSettingBatchId;

    @Schema(description = "商品 SPU 编号", example = "3205")
    @ExcelProperty("商品 SPU 编号")
    private Long spuId;

    @Schema(description = "商品 SPU 名称", example = "王五")
    @ExcelProperty("商品 SPU 名称")
    private String spuName;

    @Schema(description = "商品 SKU 编号", example = "19465")
    @ExcelProperty("商品 SKU 编号")
    private Long skuId;

    @Schema(description = "是否生效中（0：否，1：是）")
    @ExcelProperty("是否生效中（0：否，1：是）")
    private Integer isEffect;

    @Schema(description = "是否获得抽奖次数（0：否，1：是）")
    @ExcelProperty("是否获得抽奖次数（0：否，1：是）")
    private Integer isObtained;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}